
// 初始化请求配置
uni.$u.http.setConfig((defaultConfig) => {
    /* defaultConfig 为默认全局配置 */
    defaultConfig.baseURL = "http://qclargeadmin.zzcyx1688.cn/overall/",
	defaultConfig.header = {'content-type':'application/x-www-form-urlencoded','authorization':uni.getStorageSync("d_token")}
    return defaultConfig
})
module.exports = (vm) => {
    require('./requestInterceptors')(vm)
    require('./responseInterceptors')(vm)
}
